// Portions copyright 2005 - 2006: Morten Nielsen (www.iter.dk)
// Portions copyright 2006 - 2008: Rory Plaire (codekaizen@gmail.com)
//
// This file is part of GeoAPI.Net.
// GeoAPI.Net is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
// 
// GeoAPI.Net is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.

// You should have received a copy of the GNU Lesser General Public License
// along with GeoAPI.Net; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 

using System;
using GeoAPI.Coordinates;
using NPack.Interfaces;

namespace GeoAPI.CoordinateSystems
{
	/// <summary>
	/// The IProjectedCoordinateSystem interface defines the standard information 
	/// stored with projected coordinate system objects.
	/// </summary>
	/// <remarks>
    /// A projected coordinate system is defined using a
    /// geographic coordinate system object and a projection object that defines the
    /// coordinate transformation from the geographic coordinate system to the projected
    /// coordinate systems. The instances of a single ProjectedCoordinateSystem COM class can
    /// be used to model different projected coordinate systems (e.g., UTM Zone 10, Albers)
    /// by associating the ProjectedCoordinateSystem instances with Projection instances
    /// belonging to different Projection COM classes (Transverse Mercator and Albers,
    /// respectively).
    /// </remarks>
    public interface IProjectedCoordinateSystem<TCoordinate> : IProjectedCoordinateSystem,
                                                               IHorizontalCoordinateSystem<TCoordinate>
        where TCoordinate : ICoordinate<TCoordinate>, IEquatable<TCoordinate>,
                            IComparable<TCoordinate>, IConvertible,
                            IComputable<Double, TCoordinate>
	{
		/// <summary>
		/// Gets or sets the geographic coordinate system associated with the projected
		/// coordinate system.
		/// </summary>
		new IGeographicCoordinateSystem<TCoordinate> GeographicCoordinateSystem { get; }
	}
}
